package com.lianqi.emcpframework.core.dict.annotation;

import java.lang.annotation.*;

/**
 * @program emcp-framework
 * @description: 字典元素注解
 * @author: sky
 * @create: 2018/11/22 15:31
 */
@Target(ElementType.ANNOTATION_TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Item {
    /**
     *
     * @return 选项文本 如：性别->男
     */
    String text() default "";

    /**
     * 选项值
     * @return
     */
    String value() default "";

    /**
     * 说明
     * @return
     */
    String[] comments() default {};
}
